package com.fone.player.client;

import java.util.List;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

/**
 * @author 刘昆 (liukun@100tv.com)
 * @since 2014-04-22
 */
@Root(strict=false)
public class DeclarationRst extends Rst {
	@Root(strict=false)
	public static class Tip {

		@Attribute (required = false)
		public String btnjumplabel;
		
		@Attribute (required = false)
		public String btncancellabel;
		
		@Attribute (required = false)
		public String btns;
		
		/** 类型 */
		@Attribute (required = false)
		public String type;
		
		@Attribute (required = false)
		public String t;
		
		@Attribute (required = false)
		public String durl;
		
		/** 内容 */
		@Attribute (required = false)
		public String cnt;
		
		/** 标题*/
		@Attribute (required = false)
		public String title;
		
	}
	@Root(strict=false)
	public static class Tips {

		@ElementList(inline = true, entry = "tip", required = false)
		public List<Tip> tipList;

		@Override
		public String toString() {
			return "Tips [tipList=" + tipList + "]";
		}

	}
	
	/** 服务器地址 */
	@Element (required = false)
	public Tips tips;
	
}
